package cn.lili.modules.goods.client;


import cn.lili.modules.constant.ServiceConstant;
import cn.lili.modules.goods.fallback.CommodityFallback;
import cn.lili.modules.goods.fallback.FreeWarehouseFallback;
import cn.lili.modules.payment.entity.vo.Capture179DataResponse;
import cn.lili.modules.payment.entity.vo.Capture179DataVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(path = "${server.servlet.context-path}", name = ServiceConstant.GOODS_SERVICE, contextId = "free", fallback = FreeWarehouseFallback.class)
public interface FreeWarehouseClient {


    @PostMapping("/feign/capture179Data")
    Capture179DataResponse capture179Data(@RequestBody Capture179DataVO capture179Data);

}
